
package me.zhengjie.service.dto;

import lombok.Data;

import java.sql.Timestamp;
import java.util.List;
import me.zhengjie.annotation.Query;

/**
* @website https://el-admin.vip
* @author IQW
* @date 2022-07-03
**/
@Data
public class AppEventQueryCriteria{

    @Query(blurry = "title")
    private String blurry;

    @Query(type = Query.Type.EQUAL)
    private Integer fid;

    @Query(type = Query.Type.EQUAL)
    private Integer userId;

    @Query(type = Query.Type.EQUAL,propName = "toUserId")
    private Integer toUserId;

    @Query(type = Query.Type.EQUAL)
    private Integer workId;

    @Query(type = Query.Type.EQUAL)
    private Integer type;

    @Query(type = Query.Type.BETWEEN)
    private List<Timestamp> createTime;

    @Query(type = Query.Type.EQUAL)
    private Integer status;

    //我小于等于X
    @Query(type = Query.Type.LESS_THAN,propName = "status")
    private Integer statusLessTh;
}